package com.zhuchaooasystem.base;

import android.app.Application;

import com.baidu.mapapi.SDKInitializer;
import com.zhuchaooasystem.utils.ContextUtil;

import java.io.File;

import cn.jpush.android.api.JPushInterface;
import im.fir.sdk.FIR;

/**
 * Created by SQ on 16/6/17.
 */
public class App extends Application {

    private static App appContext;

    public File cacheDir;

    @Override
    public void onCreate() {
        super.onCreate();
        appContext = this;
        ContextUtil.init(this);
        //----百度地图初始化
        SDKInitializer.initialize(getApplicationContext());
        //----
        FIR.init(this);
        //----
        JPushInterface.init(this);

    }

    public static App getAppContext() {
        return appContext;
    }



}
